package com.tongji.housediy.events
{
	import flash.events.Event;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */	
	public class TypeXMLAdminEvent extends Event
	{
		public static const LOAD_TYPE_XML:String = "loadTypeXML";
		public static const UPDATE_FURNITURE_LEVEL1_XML:String = "updateFurnitureLevel1XML";
		public static const UPDATE_FURNITURE_LEVEL2_XML:String = "updateFurnitureLevel2XML";
		
		public static const SET_FURNITURE_LEVEL2_VISIBLE_FALSE:String = "setFurnitureLevel2VisibleFalse";
		public static const SET_FURNITURE_LEVEL2_VISIBLE_TRUE:String = "setFurnitureLevel2VisibleTrue";
		
		public static const UPDATE_WALL_LEVEL1_XML:String = "updateWallLevel1XML";
		public static const UPDATE_WALL_LEVEL2_XML:String = "updateWallLevel2XML";
		
		public static const UPDATE_FLOOR_LEVEL2_XML:String = "updateFloorLevel1XML";
		
		public var selectedType:String;
		
		public function TypeXMLAdminEvent(type:String, selectedType:String = "")
		{
			super(type);
			this.selectedType = selectedType;
		}
		
		override public function clone():Event
		{
			return new TypeXMLAdminEvent(type, selectedType);
		}
	}
}